﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaiser.Infrastructure;
using Kaiser.Modules.DC.Services;
using Kaiser.Modules.DC.Services.Impl;
using System.Web.Mvc;

namespace Kaiser.Modules.DC
{
    public class DCModule : Module
    {
        public override string ModuleName
        {
            get { return "DC"; }
        }

        public override void Initialize()
        {
            SetupContainer();
        }

        /// <summary>
        /// 设置DI映射
        /// </summary>
        private void SetupContainer()
        {
            DependencyInjector
                .RegisterType<IDCManageService, DCManageService>();



        }

        public override string AuthenticationModuleName
        {
            get
            {
                return "Admin";
            }
        }

    }

   
}
